﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Student_Score_System
{
    public  class Student
    {
        //学号字段属性
        private int id;
        public int Id
        {
            get
            {
                return id;
            }

            set
            {
                id = value;
            }
        }
        //姓名字段属性
        private string name;
        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
            }
        }
        //性别字段属性
        private E_SexType sex;
        public E_SexType Sex
        {
            get
            {
                return sex;
            }

            set
            {
                sex = value;
            }
        }
        //QQ号字段属性
        private string qq;
        public string Qq
        {
            get
            {
                return qq;
            }

            set
            {
                qq = value;
            }
        }
        //年级字段属性
        private E_GradeType grade;
        public E_GradeType Grade
        {
            get
            {
                return grade;
            }

            set
            {
                grade = value;
            }
        }
        //班级字段属性
        private E_class classs;
        public E_class Classs
        {
            get
            {
                return classs;
            }

            set
            {
                classs = value;
            }
        }
        //手机号码字段属性
        private string phone;
        public string Phone
        {
            get
            {
                return phone;
            }

            set
            {
                phone = value;
            }
        }
        //邮箱字段属性
        private string email;
        public string Email
        {
            get
            {
                return email;
            }

            set
            {
                email = value;
            }
        }
        //地址字段属性
        private string address;
        public string Address
        {
            get
            {
                return address;
            }

            set
            {
                address = value;
            }
        }

        public Score Score
        {
            get
            {
                return score;
            }

            set
            {
                score = value;
            }
        }

        private Score score;
    }
}
